package com.bridgeintelligent.tag.engine.es.model;

import lombok.Data;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.search.sort.SortBuilder;

/**
 * Created by JackCheung on 2019/10/12 5:16 PM.
 */
@Data
public class DataSetModel {

    /**
     * 请求页数
     */
    private int from;
    /**
     * 每页条数
     */
    private int size;
    /**
     * es查询生成器
     */
    private QueryBuilder queryBuilder;
    /**
     * es排序
     */
    private SortBuilder sortBuilder;
    /**
     * 包含集
     */
    private String[] includes;
    /**
     * 排除集
     */
    private String[] excludes;
}
